<template>
  <view class="dataset">
    <view data-num="100" @click="test">天上浮云似白衣，斯须变幻如苍狗</view>
  </view>
</template>

<script setup>
const test = ({ target: { dataset: { num } } }) => {
  console.info(num, '---')
}
</script>

<style lang="less" scoped>

</style>
